<?php
    class indexAction extends rareAction{
        public function execute(){
            $newsDao = new DaoNews();
            list($news, $page) =$newsDao->getListPage("1 order by updateTime desc",20);
			if(!Tool::_getCache('isAdmin')){
				Tool::_setCache('currentID',service_menu::getCurrent('1',service_type::NEWS));
			}
            $this->assign('news',$news);
			$this->assign('page',$page);
        }
    }
?>
